// 歌曲详情

const request = require("./request");
module.exports = (query) => {

  query.ids = query.ids.split(/\s*,\s*/)
  const data = {
    c: '[' + query.ids.map((id) => '{"id":' + id + '}').join(',') + ']',
  }
  return request(`https://music.163.com/api/v3/song/detail`, data,query.cookie,false)
}
